package cn.tedu.boot2.utils;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ParamController {
    @RequestMapping("/p1")
    @ResponseBody

    public String p1(){
        return "接受参数";
    }

    @RequestMapping("/p2")
    @ResponseBody
    public String p2(){
        return "";
    }
}
